<?php
/**
 * Created by PhpStorm.
 * User: ternence
 * Date: 2017/4/8
 * Time: 11:04
 */

namespace Home\Model;

use Think\Model;

class UserModel extends Model
{
    private $tableName = 'user';
    private $dbName = 'intern';

    protected $fields = array(
        'id', 'username', 'email', 'phone', 'password', 'age', '',
        '_pk' => 'id',
        '_autoinc' => true
    );
}